package com.ylbh.modules.cooperation.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ylbh.common.pojo.cooperation.dto.BusinessCooperationDTO;
import com.ylbh.modules.cooperation.entity.ShoppingBusinessCooperation;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 *
 * 商务合作
 * @author czx
 * @date 2020-01-04 09:57:34
 */
@Mapper
@Repository
public interface ShoppingBusinessCooperationMapper extends BaseMapper<ShoppingBusinessCooperation> {

    /**
     * 商务合作申请列表
     * @param businessCooperationDTO
     * @param page
     * @return
     */
    List<ShoppingBusinessCooperation> selectBusinessCooperationList(@Param(value = "businessCooperationDTO") BusinessCooperationDTO businessCooperationDTO, Page<Integer> page);
}
